<div class="main_box">
    <div class="left_bar">
        <!--*********************-->
        <div class="order_title">
        </div>
        <div class="order_box <?php echo $styleArr[0];?>">
            <?php echo $reviewRankInfo['title'].$msgArr[0];?>评精华榜
        </div>
        <?php
        if( isset( $pageVars['reviews'] ) && count($pageVars['reviews']) > 0 ) {
            foreach( $pageVars['reviews'] as $review ) {
                ?>
        <div class="comment_box <?php echo $styleArr[1];?>">
            <div class="comment_item_box">
                <div class="comment_left">
                    <dl class="comment_head">
                        <dt><a href="<?php echo edp_href_link(PAGENAME_USER_INFO, 'uid='.$review['user_id']);?>"><img src="<?php echo EdpGetAvatarUrl($review['logo_path']);?>" /></a></dt>
                        <dd>
                            <h1><a href="<?php echo edp_href_link(PAGENAME_USER_INFO, 'uid='.$review['user_id']);?>" style="line-height:14px;"><?php echoPageVar($review, 'nick'); ?></a></h1>
                            <div class="degree_box">
                                <span class="<?php echo getUserRankClass($review['contribution']); ?>"></span>
                            </div>
                        </dd>
                    </dl>
                </div>
                <div class="comment_right">
                    <div class="comment_topbg"></div>
                    <div class="comment_right_box">
                        <div class="comment_0">
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$review['shop_id']);?>" target="_blank">
                                        <?php secho($review['shop_name']);?>
                            </a>
                        </div>
                        <div class="comment_1">
                            <div class="point_box">
                                <span class="score<? echo $review['score']+1;?>"></span>
                            </div>
                            <h2>宝贝真实度</h2><h3><?php echoPageVar($review, 'reality'); ?></h3>
                            <h2>服务态度</h2><h3><?php echoPageVar($review, 'service'); ?></h3>
                            <h2>发货速度</h2><h3><?php echoPageVar($review, 'velocity'); ?></h3>
                            <h2>性价比</h2><h3><?php echoPageVar($review, 'rate'); ?></h3>
                        </div>

                                <?php
                                if($review['product_list']) {
                                    ?>
                        <dl class="comment_2">
                            <dt>所买商品：</dt>
                            <dd>
            <?php foreach ($review['product_list'] as $product_info) {?>
                                <span>
                                    <a href="<?php echo edp_href_link(PAGENAME_PRODUCT_INFO, 'pid='.$product_info['id']);?>">
                <?php secho( $product_info['product_name'] ); ?>
                                    </a>
                                </span>
                <?php }?>
                            </dd>
                        </dl>
            <?php }?>

                        <div class="comment_3"><?php echoPageVar($review, 'content', true); ?>
                            <a href="<?php echo edp_href_link(PAGENAME_REVIEW_INFO,'rid='.$review['id']); ?>">详情>></a>
                        </div>

        <?php
                                if($review['tags']) {
                                    ?>
                        <dl class="comment_4">
                            <dt>标签：</dt>
                            <dd>
            <?php
            foreach ($review['tags'] as $tag) {
                                                ?>
                                <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,'q='.sconv($tag)); ?>"><?php secho( $tag ); ?></a>
                                                <?php
                                            }
            ?>
                            </dd>
                        </dl>
                                            <?php
        }
        ?>

                                <?php
                                if($review['pic_list']) {
            ?>
                        <dl class="comment_6">
                            <dt>图片：</dt>
                            <dd>
                                    <?php
            foreach ($review['pic_list'] as $pic_info) {
                ?>
                                <span><a href="<?php echo EdpGetPicURL($pic_info['picture_path']);?>"><?php secho($pic_info['name']); ?></a></span>
                                                <?php
                                            }
                                            ?>
                            </dd>
                        </dl>
                                            <?php
                                        }
                                        ?>

                        <div class="comment_5">
                            <h1>发表于<?php echoPageVar($review, 'review_date'); ?></h1>
                            <div>
                                <h2><a href="<?php echo edp_href_link(PAGENAME_REVIEW_INFO,'rid='.$review['id']); ?>"></a></h2>
                                <h3><a href="<?php echo edp_href_link(PAGENAME_REVIEW_INFO,'rid='.$review['id'].'#reponse_anchor'); ?>"></a><?php if(intval($review['response_count'])>0) echo '<span>('.$review['response_count'].')</span>'; ?></h3>
                                <h4><a id="Flower<?php echo $review['id'];?>" onclick="popupFlowerWindow('review','<?php echo $review['id']; ?>')"  href="#"></a><?php if(intval($review['flower_count'])>0) echo '<span id="Flower'.$review['id'].'" >('.$review['flower_count'].')</span>'; ?></h4>

                                <h5><a id="Egg<?php echo $review['id'];?>" onclick="popupEggWindow('review','<?php echo $review['id']; ?>')"  href="#"></a><?php if(intval($review['egg_count'])>0) echo '<span id="Egg'.$review['id'].'" >('.$review['egg_count'].')</span>'; ?></h5>

                                <h6><a onclick="popupReportWindow('3','<?php echo $review['id']; ?>')" href="#"></a></h6>
                            </div>
                        </div>
                    </div>
                    <div class="comment_bottombg"></div>
                </div>
            </div>
        </div>
        <?php
    }
}
?>
        <div class="comment_bottomline"></div>

        <div class="pagebox">
            <?php echoPageVar($pageVars, 'pagebar')?>
        </div>
    </div>

    <div id=addErrorReportBox style="display:none;cursor:default;" class="popup"></div>

    <div id=flowerAndEggBox style="display:none;cursor:default;" class="popup"></div>